package com.weipai.education.mapper;

import com.weipai.education.model.UserCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserCategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserCategory record);

    int insertSelective(UserCategory record);

    UserCategory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserCategory record);

    int updateByPrimaryKey(UserCategory record);

    List<Map<String,Object>> list(@Param("start") Integer start, @Param("end") Integer size,
                                  @Param("dispark") String dispark);
    
    Integer listAmount(@Param("dispark") String dispark);

    int batchDeleteById(String[] id);

    List<UserCategory> getAreaRateUserCate();

    UserCategory getUserCateInfo();
    
}